package com.smarttourism.mapper;

import com.smarttourism.domain.Checkin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author SHX
* @description 针对表【checkin(入住登记表)】的数据库操作Mapper
* @createDate 2024-10-22 20:13:47
* @Entity com.smarttourism.domain.Checkin
*/
public interface CheckinMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Checkin record);

    int insertSelective(Checkin record);

    Checkin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Checkin record);

    int updateByPrimaryKey(Checkin record);

    List<Checkin> findAllCheckIn();

    int updateStatusById(@Param("status") String status, @Param("id") Integer id);

    // 逻辑删除
   int updateDelById(Integer id);

}
